package day02;

public class homework04 {
    public static void main(String[] args) {
        int[] arr=new int[99];
        for (int i = 0; i < arr.length; i++) {
            arr[i]=i+1;
        }
        check_arr_7(arr);
    }

    public static void check_arr_7(int[] arr) {
        for (int i = 0; i < arr.length; i++) {
            if (arr[i] % 7 == 0) {
                System.out.println(arr[i] + "是7的倍数");
                continue;
            }
            int ge = arr[i] % 10;
            int shi = arr[i] / 10 % 10;
            if (ge==7 || shi == 7){
                System.out.println(arr[i]+"是含有7的数");
            }
        }
    }
}
